package zsc.ruanc.practicaltraining;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@SpringBootApplication
@MapperScan("zsc.ruanc.practicaltraining.mapper")
@EnableCaching // 注解缓存
@EnableAsync // 开启异步任务支持
@EnableScheduling // 开启定时任务注解功能支持
public class PracticaltrainingApplication {

    public static void main(String[] args) {
        SpringApplication.run(PracticaltrainingApplication.class, args);
    }

}
